//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Copyright (c) 1995-1999  Microsoft Corporation

Module Name:

msg.h

Abstract:


Notes:


--*/

#pragma once


#define MSG_MSGBUF_LENGTH      (MAXLENGTH_MSG * 2 + 1)
#define MSG_CMDBUF_LENGTH      (MAX_PATH * 2 + MSG_MSGBUF_LENGTH)
#define MSG_ALLOC_NUMBER        16


HRESULT RILDrv_GetMsgServiceOptions(DWORD dwParam);
HRESULT RILDrv_SetMsgServiceOptions(DWORD dwParam, const RILMSGSERVICEINFO *lpMsgServiceInfo);
HRESULT RILDrv_GetMsgConfig(DWORD dwParam);
HRESULT RILDrv_SetMsgConfig(DWORD dwParam, const RILMSGCONFIG *lpMsgConfigInfo);
HRESULT RILDrv_GetCellBroadcastMsgConfig(DWORD dwParam);
HRESULT RILDrv_SetCellBroadcastMsgConfig(DWORD dwParam, const RILCBMSGCONFIG *lpMsgConfigInfo);
HRESULT RILDrv_ReadMsg(DWORD dwParam, DWORD dwIndex);
HRESULT RILDrv_DeleteMsg(DWORD dwParam, DWORD dwIndex);
HRESULT RILDrv_WriteMsg(DWORD dwParam, const RILMESSAGE *lpMessage, DWORD dwStatus);
HRESULT RILDrv_SendMsg(DWORD dwParam, const RILMESSAGE *lpMessage, DWORD dwOptions);
HRESULT RILDrv_SendStoredMsg(DWORD dwParam, DWORD dwIndex, DWORD dwOptions);
HRESULT RILDrv_SendMsgAcknowledgement(DWORD dwParam, BOOL fSuccess);

